package de.fhd.pms.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The java bean class for {@link Station} objects It specifies:
 * <ul>
 * <li>the {@link Station} class & interfaces</li>
 * <li>get-/set-methods</li>
 * <li>constructors</li>
 * <li>other methods if needed</li>
 * </ul>
 * 
 * @author Fischer, Neetzel & Six
 */
@Entity
@Table(name = "tbl_station")
public class Station {
	@Id
	@GeneratedValue
	@Column(name = "pk_station")
	private Integer id;
	private Date created;
	@Column(name = "strasse")
	private String strasse;
	@Column(name = "plz")
	private String plz;
	@Column(name = "ort")
	private String ort;
	
//	Koordinater der Station
//	zb.
//	Pestalozzistraße 12 		80469 	München 	48.131325,11.567316
//	Karl-Theodor-Straße 106 	80796 	München 	48.167975,11.565256
//	Boschetsrieder Straße 69 	81379 	München 	48.099808,11.530151
//	Seeriederstraße 21 			81675 	München 	48.134475,11.603279
//	Gotthardstraße 21 			80686 	München 	48.13502,11.50702

	@Column(name = "google")
	private String google;
	
	public Station() {
	}

	public Integer getId() {
		return id;
	}

	public void station() {

	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getStrasse() {
		return strasse;
	}

	public void setStrasse(String strasse) {
		this.strasse = strasse;
	}

	public String getPlz() {
		return plz;
	}

	public void setPlz(String plz) {
		this.plz = plz;
	}

	public String getOrt() {
		return ort;
	}

	public void setOrt(String ort) {
		this.ort = ort;
	}

	public String getGoogle() {
		return google;
	}

	public void setGoogle(String google) {
		this.google = google;
	}

}
